<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import Vue from 'vue'

import headerInfo from '@/components/mainPage/HeaderInfo.vue'
import Footer from '@/components/common/Footer.vue'

//全局注册组件
Vue.component("headerInfo",headerInfo);
Vue.component("Footer",Footer);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

export default {
  name:"App",
  component:{
  }
}
</script>
<style>
#app {
  font-family: Microsoft Yahei;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  font-size: 12px;
  text-align: center;
  margin: 0 auto;
  width:1200px;
}
</style>
